<#include "/layout/easyuilayout.ftl"/>
<@htmlHead>

</@htmlHead>
<@htmlBody>

<div id="encourageRule_Toolbar">    
   <input id="encourageRule_ss" class="easyui-searchbox" style="width:280px;"  data-options="searcher:encourageRuleSearchbox,prompt:'请输入关键字...',menu:'#encourageRule_mm'"></input>           
    <div id="encourageRule_mm" style="width:120px">
                   <div data-options="name:'ruleDiscount'">匹配规则</div>
                   <div data-options="name:'matchList'">匹配条件</div>
                   <div data-options="name:'ruleType'">规则类型</div>
                   <div data-options="name:'ruleName'">规则名称</div>
                   <div data-options="name:'remark'">备注</div>
                   <div data-options="name:'ruleId'">规则编码</div>
                   <div data-options="name:'createDate'">录入日期</div>
    </div>
     <a href="javascript:void(0)" class="easyui-linkbutton " iconCls="icon-reload" plain="true" onclick="ReloadList_encourageRule()">刷新</a>

    <a href="javascript:void(0)" class="easyui-linkbutton float_r" iconCls="icon-remove" plain="true" onclick="Del_encourageRule()">删除</a>
    <span class="datagrid-btn-separator float_r"  ></span>
    <a href="javascript:void(0)" class="easyui-linkbutton float_r" iconCls="icon-edit" plain="true" onclick="ShowEditForm_encourageRule(1)">修改</a>
    <span class="datagrid-btn-separator float_r"  ></span>
    <a href="javascript:void(0)" class="easyui-linkbutton float_r" iconCls="icon-add" plain="true" onclick="ShowEditForm_encourageRule(0)">新增</a>
</div>
<div data-options="region:'center',title:'',split:true,border:false" >
    <table id="encourageRule_Grid"> </table> 
</div>
<div id="encourageRule_EditForm" class="easyui-dialog" style="width:700px;height:400px;padding:0px"  closed="true"  modal="true"    buttons="#encourageRule_EditForm_buttons" >
    <form  id="encourageRule_EditForm_fm"  method="post"  >
          <div class="fitem"  >
                <label>ruleDiscount: </label>
                <input name="ruleDiscount" class="easyui-validatebox" placeholder="请输入..." value="" data-options="required:false"     />
          </div>
          <div class="fitem"  >
                <label>updateDate: </label>
                <input name="updateDate" class="easyui-validatebox" placeholder="请输入..." value="" data-options="required:false"     />
          </div>
          <div class="fitem"  >
                <label>matchList: </label>
                <input name="matchList" class="easyui-validatebox" placeholder="请输入..." value="" data-options="required:false"     />
          </div>
          <div class="fitem"  >
                <label>ruleType: </label>
                <input name="ruleType" class="easyui-validatebox" placeholder="请输入..." value="" data-options="required:false"     />
          </div>
          <div class="fitem"  >
                <label>ruleName: </label>
                <input name="ruleName" class="easyui-validatebox" placeholder="请输入..." value="" data-options="required:false"     />
          </div>
          <div class="fitem"  >
                <label>remark: </label>
                <input name="remark" class="easyui-validatebox" placeholder="请输入..." value="" data-options="required:false"     />
          </div>
          <div class="fitem"  >
                <label>ruleRegex: </label>
                <input name="ruleRegex" class="easyui-validatebox" placeholder="请输入..." value="" data-options="required:false"     />
          </div>
          <div class="fitem"  >
                <label>ruleId: </label>
                <input name="ruleId" class="easyui-validatebox" placeholder="请输入..." value="" data-options="required:false"     />
          </div>
          <div class="fitem"  >
                <label>matchRegex: </label>
                <input name="matchRegex" class="easyui-validatebox" placeholder="请输入..." value="" data-options="required:false"     />
          </div>
          <div class="fitem"  >
                <label>createDate: </label>
                <input name="createDate" class="easyui-validatebox" placeholder="请输入..." value="" data-options="required:false"     />
          </div>

    </form>
</div>
<div id="encourageRule_EditForm_buttons">
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="save_encourageRule()">保存</a>
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#encourageRule_EditForm').dialog('close')">取消</a>
</div>
</@htmlBody>

 

